package com.xwx.common.model;
import com.xwx.common.utils.Condition;

/**
 * 角色权限model
 *
 * @author Drean QQ:68697015
 *
 * 日期：下午11:19:12
 */
@SuppressWarnings("serial")
public class RoleAccessModel extends ModelExt<RoleAccessModel>{
	public static final RoleAccessModel dao = new RoleAccessModel();
	
	/**
	 * 清除角色授权数据
	 * @param userId
	 */
	public static void clearUserAccessData(String roleId){
		dao.deleteByCondition(new Condition().eq("roleId", roleId).toString());
	}
}
